<html>
<head>
<link href="<?php echo $this->_var['siteinfo']['tempdir']; ?>images/index.css" rel="stylesheet"
	type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="inc/js/jquery.js" type="text/javascript"></script>
<script src="inc/js/jquery-chekform.js"
	type="text/javascript"></script>

<!---->
<script language="javascript">
$(function(){
	//提交验证部分
	$("#sub").chkform([
	{"name":$("#fm_name"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>类别名称不能为空！</span></div>","type":"chkblank"},
	{"name":$("#fm_ordid"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>排序必须为正整数或0！</span></div>","type":"num"}
	]);

})
</script>
	
	
</head>
<body>
<form name="form1" method="post" action="" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="100%" class="list black" colspan="2">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="86%" align="center" class="black">信息设置</td>
				<td width="14%"><a href="javascript:history.go(-1)"><img
					src="<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add3.gif" width="84"
					height="26"
					onMouseOver="this.src='<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add4.gif'"
					onMouseOut="this.src='<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add3.gif'"
					border="0" /></a></td>
			</tr>
		</table>
		</td>
	</tr>

	<tr>
		<td class="list-add1 pl8" colspan="2" style="display: none"
			id="errmsg"></td>
	</tr>

	<tr>
		<td height="40" align="right" class="list-add1">类别名称：</td>
		<td class="list-add1 pl8">
		<input name="fm_name" type="text" size="30" value="<?php echo $this->_var['infoclassinfo']['name']; ?>" id="fm_name" /> 
		
		</td>
	</tr>

	<tr>
		<td height="40" align="right" class="list-add1">类别排序：</td>
		<td class="list-add1 pl8">
		<!--<?php if ($_GET['action'] == 'edit'): ?>-->
		<input name="fm_ordid" type="text" size="6" value="<?php echo $this->_var['infoclassinfo']['ordid']; ?>" id="fm_ordid" /> 
		<!-- <?php else: ?> -->
		<input name="fm_ordid" type="text" size="6" value="0" id="fm_ordid" /> 
		<!-- <?php endif; ?> -->
		</td>
	</tr>

	<tr>
		<td height="40" align="right" class="list-add1">上级栏目：</td>
		<td class="list-add1 pl8">
		<!--<?php if ($_GET['action'] == 'edit'): ?>-->
		<?php echo $this->html_select(array('options'=>$this->_var['infoclassup'],'selected'=>$this->_var['infoclassinfo']['upid'],'name'=>'fm_upid','id'=>'fm_upid')); ?> 
		<!-- <?php else: ?> -->
		<?php echo $this->html_select(array('options'=>$this->_var['infoclassup'],'selected'=>'0','name'=>'fm_upid','id'=>'fm_upid')); ?> 		
		<!-- <?php endif; ?> -->
	</td>
	</tr>

	<tr>
		<td height="40" align="right" class="list-add1">是否显示：</td>
		<td class="list-add1 pl8">
		<select name="fm_isshow" id="fm_isshow">
		<option value="Y" selected="selected">是</option>
        <!-- <?php if ($this->_var['infoclassinfo']['isshow'] == 'N'): ?> -->
        <option value="Y">是</option>
        <option value="N" selected="selected">否</option>
        <!-- <?php else: ?> -->
        <option value="Y" selected="selected">是</option>
        <option value="N" >否</option>
        <!-- <?php endif; ?> -->
  
		</select>
		</td>
	</tr>

	<tr>
		<td align="center" class="list-add1" colspan="2" style="padding: 20px">
		<!--	  <input type="image"
			name="imageField" src="<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add1.gif"
			onMouseOver="this.src='<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add2.gif'"
			onMouseOut="this.src='<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add1.gif'" id="sub"/>
			--> <input type="submit"
			value="提&nbsp;&nbsp;交&nbsp;&nbsp;信&nbsp;&nbsp;息" name="sub" id="sub"> <!--<?php if ($_GET['action'] == 'edit'): ?>-->
		<input type="hidden" name="action" value="update" /> <input
			type="hidden" name="setadminid" value="<?php echo $_GET['setadminid']; ?>" />
		<!--<?php else: ?>--> <input type="hidden"
			name="action" value="insert" /> <!--<?php endif; ?>--></td>
	</tr>
</table>
</form>

<table width="102%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>

</body>
</html>
